<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>file-upload</title>
</head>
<body>
    <form action="/files/upload" method="post" enctype="multipart/form-data">
        <div>
            <label>username:</label>
            <input type="text" name="username"/>
        </div>
        <div>
            <label>avatar:</label>
            <input type="file" name="avatar"/>
        </div>
        <div>
            <input type="submit"/>
        </div>
    </form>
</body>
</html>